package cn.hnh.mapper;

import cn.hnh.pojo.Categories;
import cn.hnh.vo.CategoriesArticleVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author HuangNianHong
 * @Time 2021/1/5
 */
@Mapper
@Repository
public interface CategoriesMapper {
    public Integer getCategoriesCount();
    public List<Categories> getCategories();
    public String getNameById(Integer id);
    public Integer getIdByName(String name);
}
